import React from 'react'
import Mask from '@/components/Mask'
import { View, Text, } from '@tarojs/components';
import Router from '@/utils/router'
import './index.scss'
const MaskToast = (props) => {
    const { visible = {} } = props
    const { title, desc } = visible

    return <Mask
        {...props}>
        <View className='MaskToast_box' >
            <View className='MaskToast_content'>
                <View className='MaskToast_title_box'>{title}</View>
                <View className='MaskToast_desc_box'>{desc}</View>
            </View>
        </View>

    </Mask>
}
export default MaskToast